<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:import href="config.xsl"/>
     <xsl:template match="/">
<msc type="form">
		<head>
		<title>首页面</title>
				<script type="text/javascript">
		<![CDATA[
			var uid = '';
			//---------------刚进来应该把用户邮箱获取过来--------------------
			function init(){
					var waiting = window.showWaiting();
					waiting.caption = "正在获取用户邮箱..";
					waiting.oncancel = function(){
						writemailconfig('未配置邮箱','','') ;
						return ;
					};
					var request = new XMLHttpRequest();
					request.onreadystatechange = function (aEvt) {
						if (request.readyState == 1) {
			                request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
			                request.setRequestHeader('User-Agent', 'MSC3.0');   
			                var loginurl = '_MSC_CMD_=QRY&action=getmailsetting@mail' ;
			                if (!request.send(loginurl)){
			                	waiting.close();
								alert('连接服务器失败!请重新登录!') ;
								writemailconfig('未配置邮箱','','') ;
								return ;
							}
		           	 	}else if (request.readyState == 4) {
			           	 	if(request.status==200){
				           	 	if(request.responseXML.documentElement==''){
				           	 		waiting.close();
				           	 		writemailconfig('未配置邮箱','','') ;
					            	return ;
					            }
			           	 		waiting.close();
		     	 				uid = request.responseXML.documentElement.childNodes[0].getAttribute('uid').toString() ;
								var email = request.responseXML.documentElement.childNodes[0].getAttribute('email').toString();
								var password = request.responseXML.documentElement.childNodes[0].getAttribute('password').toString();
								if(email==''||password==''||uid==''){
									email = '未配置邮箱' ;
									
									//清除原有邮件
		            				clearallmail();
								}
								var emailAddress;
								if(application.fso.fileExists("jsdata:temporary/mailconfig.xml") == true)
								{
									var mailconfig = document.implementation.createDocument("", "", null);
									mailconfig.load("jsdata:temporary/mailconfig.xml");
									
									emailAddress = mailconfig.documentElement.childNodes[0].getAttribute("email")
								}
								//alert(email);
								if(emailAddress != email && email != '未配置邮箱' && emailAddress != '未配置邮箱')
								{
									if(confirm("绑定邮箱已经变更,是否删除原邮箱邮件?"))
					            	{
					            		//清除原有邮件
				            			clearallmail();
					            	}
								}
								
								writemailconfig(email,password,uid) ;
			           	 		//location.href="mail/homelist.xml";
			           	 	}else{
			           	 		waiting.close();
				            	alert('连接超时，请重新登录!') ;
				            	writemailconfig('未配置邮箱','','') ;
				            	return ;
				            }
		           	 	}
					};
					request.open('POST', application.url, true);
		//		}
			}
		
		//---------------写邮箱配置临时文件---------------------
		function writemailconfig(email,password,userid){
			var maildocument = new DOMParser().parseFromString('<msc />');
			var elem_body = maildocument.createElement('body');
			elem_body.setAttribute('email',email) ;
			elem_body.setAttribute('password',password) ;
			elem_body.setAttribute('uid',userid) ;
			maildocument.documentElement.appendChild(elem_body);
			application.fso.writeXMLDocument(maildocument,"jsdata:temporary/mailconfig.xml");
		}
		
		//收邮件丢这来
		//---------手动接收邮件 获得要收取的邮件数目------------
		var lastmailid = '';
		var lastdate = '';
		var mailindex = 1;
		var mailids = '' ;
		var mailsize = '0' ;
		var cancelflag = 0;//如果取消的话变为1则不收邮件了
		var wnd = '';
		var receivenowflag = 0 ;//0表示没有收邮件、1表示正在收邮件，如果正在收邮件的话用户在点收邮件就没用啦
		function startreceive(s){
		if(receivenowflag == 0){
			wnd = application.findWindowById('inboxlist');
			
			var waiting1 = window.showWaiting();
			waiting1.caption = "正在连接到服务器..";
			waiting1.oncancel = function(){
				cancelflag=1 ;
				receivenowflag = 0;
				if(wnd!=null){ 
					wnd.execute('viewlist','0');
				}
				return;
			};
		
			var emailAddress;
			if(application.fso.fileExists("jsdata:temporary/mailconfig.xml") == true)
			{
				var email = document.implementation.createDocument("", "", null);
				email.load("jsdata:temporary/mailconfig.xml");
				
				emailAddress = email.documentElement.childNodes[0].getAttribute("email")
			}
			
			if(application.fso.fileExists("jsdata:"+uid+"/temporary/lastidanddata.xml") == false){
				var lastidanddata = new DOMParser().parseFromString("<msc />");
				var elem_item = lastidanddata.createElement('item');
				lastidanddata.documentElement.appendChild(elem_item);
				application.fso.writeXMLDocument(lastidanddata,"jsdata:"+uid+"/temporary/lastidanddata.xml");
			}else {
				maillist = document.implementation.createDocument("", "", null);
				maillist.load("jsdata:"+uid+"/temporary/lastidanddata.xml");
				lastmailid = "";
				if(maillist.documentElement.childNodes[0].getAttribute("lastmailid") != undefined && 
					maillist.documentElement.childNodes[0].getAttribute("lastmailid") != null && 
					maillist.documentElement.childNodes[0].getAttribute("lastmailid") != "")
				{
					lastmailid = maillist.documentElement.childNodes[0].getAttribute("lastmailid").toString() ;
				}
				lastdate = "";
				if(maillist.documentElement.childNodes[0].getAttribute("lastdate") != undefined && 
					maillist.documentElement.childNodes[0].getAttribute("lastdate") != null && 
					maillist.documentElement.childNodes[0].getAttribute("lastdate") != "")
				{
					lastdate = maillist.documentElement.childNodes[0].getAttribute("lastdate").toString() ;
				}
			}
       	 	var request = new XMLHttpRequest();
       	 	request.onreadystatechange = function (aEvt) {  
	            if (request.readyState == 1) {
	                request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	                request.setRequestHeader('User-Agent', 'MSC3.0');   
	                var mailurl = '_MSC_CMD_=QRY&action=startreceive@mail&lastdate='+lastdate+'&lastmailid='+lastmailid+'&email='+emailAddress ;
	                //request.send(mailurl);
	                if (!request.send(mailurl)){
	                	waiting1.close();
						alert('连接服务器失败!') ;
						receivenowflag = 0;
						return ;
					}
	            }else if (request.readyState == 4) {
			            if(request.status==200){
				            if(request.responseXML.documentElement==''){
				            	waiting1.close();
				            	receivenowflag = 0;
				            	return ;
				            }
			            
						if(request.responseXML.documentElement.childNodes[0].getAttribute('show') != undefined && 
							request.responseXML.documentElement.childNodes[0].getAttribute('show') != null && 
							request.responseXML.documentElement.childNodes[0].getAttribute('show') != "")
						{
			            	if(request.responseXML.documentElement.childNodes[0].getAttribute('show').toString()=="true"){
			            		waiting1.close();
			            		alert(request.responseXML.documentElement.childNodes[0].textContent) ;
			            		
			            		receivenowflag = 0;
			            		return ;
			            	}
			            }
			            //绑定邮箱已经变更,是否删除原邮箱邮件!
			            //alert(request.responseXML.documentElement.childNodes[1]);
			            if(request.responseXML.documentElement.childNodes[1] != undefined && 
			            	request.responseXML.documentElement.childNodes[1] != null)
			            {
			            	waiting1.close();
			            	if(confirm("绑定邮箱已经变更,是否删除原邮箱邮件?"))
			            	{
			            		//清除原有邮件
		            			clearallmail();
			            	}
		            		var email = request.responseXML.documentElement.childNodes[1].getAttribute('email').toString();
		            		var password = request.responseXML.documentElement.childNodes[1].getAttribute('password').toString();
		            		var uid = request.responseXML.documentElement.childNodes[1].getAttribute('uid').toString();
		            		
		            		//更新配置文件
		            		writemailconfig(email,password,uid) ;
			            }
			            
			            if(request.responseXML.documentElement.childNodes[0].getAttribute('size') != undefined && 
			         		request.responseXML.documentElement.childNodes[0].getAttribute('size') != null && 
			         		request.responseXML.documentElement.childNodes[0].getAttribute('size') != "")
						{
			            	mailsize =request.responseXML.documentElement.childNodes[0].getAttribute('size').toString() ;
			            }
		            	if(mailsize=="0"){
		            		waiting1.close();
							//viewlist(0);
							if(wnd!=null){ 
								wnd.execute('viewlist','0');
							}
							receivenowflag = 0;
							return ;          	
		            	}else{
		            		mailids = request.responseXML.documentElement.childNodes[0].getAttribute('mailids').toString();
		            		waiting1.close();
		            		cancelflag = 0 ;
		            		if(cancelflag==0){
		           				receivemails() ;
		           			}
		            	}
		            }else{
		            	waiting1.close();
		            	alert('连接超时，请重新登录!') ;
		            	receivenowflag = 0;
		            	return ;
		            }
	        	}
			};
			request.open('POST', application.url, true);
		}
        }
        
        //----------递归收邮件了-------------
        var startflag = 0;
        var waiting ;
        function receivemails() {
      		if(mailids==''){
        		mailindex = 1 ;
        		startflag = 0;
        		waiting.close();
        		//viewlist(0);
        		//var wnd = application.findWindowById('inboxlist');
				if(wnd!=null){ 
					wnd.execute('viewlist','0');
				}
				receivenowflag = 0;
        		return ;
        	}else{
        		var mailid = mailids.split(',') ;
        		if(cancelflag==0){
        			receivenowflag = 1;
        		 	if(mailid.length<=5){
        				//receivemail(mailid[mailindex-1]) ;
        				receivemail(mailids) ;
        				mailids = '' ;
        			}else{
        				for(var k=0;k<5;k++){
        					mailids = mailids.substring(mailids.indexOf(',')+1) ;
        				}
        				receivemail(mailid[0]+","+mailid[1]+","+mailid[2]+","+mailid[3]+","+mailid[4])
        			}
        		}        	        	
        	}
        }
        
        //---------------得到邮件id去收邮件----------------
        function receivemail(mailid){
        	var request = new XMLHttpRequest();
        	var mailidss = mailid ;
        	if(startflag==0){
				startflag = 1;
				waiting = window.showWaiting();
			}
			waiting.oncancel = function(){
				cancelflag=1 ;
				startflag=0;
				mailindex = 1;
				//viewlist(0) ;
				//var wnd = application.findWindowById('inboxlist');
				if(wnd!=null){ 
					wnd.execute('viewlist','0');
				}
				receivenowflag = 0;
				return;
			};
       		request.onreadystatechange = function(aEvt) {
       			if (request.readyState == 1) {
	                request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	                request.setRequestHeader('User-Agent', 'MSC3.0');
	               // request.send('_MSC_CMD_=QRY&action=receivemailresp@mail&mailid='+mailidss);
	                waiting.caption = "正在收取第"+mailindex+"/"+mailsize+"封邮件..";
	                if (!request.send('_MSC_CMD_=QRY&action=receivemailresp@mail&mailid='+mailidss)){
	                	waiting.close();
						alert('连接服务器失败!') ;
						receivenowflag = 0;
						return ;
					}
	            }else if (request.readyState == 4) {
		            if(request.status==200){
		            	var doc = request.responseXML.documentElement;
		            	if(doc==''){
		            		waiting.close();
		            		receivenowflag = 0;
			            	return ;
			            }
			            var _fso = new Fso();
						var maillist;
			            
			            if(application.fso.fileExists("jsdata:"+uid+"/mail/inboxmaillist.xml") == false)
			            {
							maillist = new DOMParser().parseFromString("<msc />");
							application.fso.writeXMLDocument(maillist,"jsdata:"+uid+"/mail/inboxmaillist.xml");
						}else {
							maillist = document.implementation.createDocument("","",null);
							maillist.load("jsdata:"+uid+"/mail/inboxmaillist.xml");
						}
			            
			            //_fso.writeXMLDocument(request.responseXML,"jsdata:tmp.xml");
			            for(var i = 0;i<doc.childNodes.length;i=i+3){
			            
			            	//获得一堆的数据
			            	var mail = doc.childNodes[i] ;
							var subject = '无主题'
							if(mail.getAttribute("subject") != undefined && 
								mail.getAttribute("subject") != null && 
								mail.getAttribute("subject") != "")
							{
								subject = mail.getAttribute("subject").toString();
							}
							var from = mail.getAttribute("from").toString();
							var date = mail.getAttribute("date").toString();
							var to = mail.getAttribute("to").toString() ;
							var cc = "";
							if(mail.getAttribute("cc") != undefined && 
								mail.getAttribute("cc") != null && 
								mail.getAttribute("cc") != "")
							{
								cc = mail.getAttribute("cc").toString() ;
							}
							var attachment = doc.childNodes[i+1] ;
							var priority = mail.getAttribute("priority").toString() ;
							var needReceipt = mail.getAttribute("needReceipt").toString() ;
							var content = mail.getAttribute("summary").toString();
							var mailid = mail.getAttribute("mailid").toString() ;
							var mailListLength = 0;
							if(maillist.documentElement != undefined || maillist.documentElement != null)
							{
								mailListLength = maillist.documentElement.childNodes.length;
							}
							
							var savepath = "jsdata:"+uid+"/mail/inbox/"+(mailListLength+100)+"_"+mailid+"_00.xml" ;
							//------存邮件-------
							var maildocument = new DOMParser().parseFromString("<msc type='form'/>");
							//main节点
							var elem_mail = maildocument.createElement('mail'); 
							for(var j = 0;j< doc.childNodes[i].attributes.length;j++)
							{
								elem_mail.setAttribute(doc.childNodes[i].attributes[j].name,doc.childNodes[i].attributes[j].value+"");
							}
							//attachment节点
							var elem_attachment = maildocument.createElement('attachment'); 
							for(var j = 0;j< doc.childNodes[i+1].childNodes.length;j++)
							{
								//item节点
								var elem_attachment_item = maildocument.createElement('item');
								for(var k = 0;k < doc.childNodes[i+1].childNodes[j].attributes.length;k++)
								{
									var attributeName = doc.childNodes[i+1].childNodes[j].attributes[k].name;
									var attributeValue = doc.childNodes[i+1].childNodes[j].attributes[k].value+"";
									elem_attachment_item.setAttribute(attributeName,attributeValue);
								}
								elem_attachment.appendChild(elem_attachment_item);
							}
							//content节点
							var elem_content = maildocument.createElement('content');
							var elem_content_tmp = maildocument.createCDATASection(doc.childNodes[i+2].textContent.toString());
							elem_content.appendChild(elem_content_tmp);
							
							maildocument.documentElement.appendChild(elem_mail);
							maildocument.documentElement.appendChild(elem_attachment);
							maildocument.documentElement.appendChild(elem_content);
							_fso.writeXMLDocument(maildocument,savepath);
							//------存邮件完毕-------
							//下面来拼maillist
							var elem_mailitem = maillist.createElement('item');
							elem_mailitem.setAttribute('date',date.toString()) ;
							elem_mailitem.setAttribute('subject',subject.toString()) ;
							elem_mailitem.setAttribute('from',from.toString()) ;
							elem_mailitem.setAttribute('priority',priority.toString()) ;
							elem_mailitem.setAttribute('needReceipt',needReceipt.toString()) ;
							elem_mailitem.setAttribute('mailid',mailid.toString()) ;
							elem_mailitem.setAttribute('content',content);
							elem_mailitem.setAttribute('id',(mailListLength+100)+"_"+mailid+"_00.xml") ;
							if(attachment.childNodes != "" && attachment.childNodes != null && attachment.childNodes != undefined)
							{
								if(attachment.childNodes.length>0){
									elem_mailitem.setAttribute('attachment','yes') ;
								}else {
									elem_mailitem.setAttribute('attachment','no') ;
								}
							}else
							{
								elem_mailitem.setAttribute('attachment','no') ;
							}
							elem_mailitem.setAttribute('isread','0') ;
							maillist.documentElement.appendChild(elem_mailitem) ;
							//maillist拼接完工
			            }
						_fso.writeXMLDocument(maillist,"jsdata:"+uid+"/mail/inboxmaillist.xml");
						//将lastid和lastdata存入临时文件
						var lastidanddata = new DOMParser().parseFromString('<msc />');
						var elem_item = lastidanddata.createElement('item');
						elem_item.setAttribute('lastmailid',mailid) ;
						elem_item.setAttribute('lastdate',mail.getAttribute("date").toString()) ;
						lastidanddata.documentElement.appendChild(elem_item);
						_fso.writeXMLDocument(lastidanddata,"jsdata:"+uid+"/temporary/lastidanddata.xml");
						lastmailid = mailid;
						lastdate = mail.getAttribute("date").toString();
						//mailindex++;
						mailindex = mailindex+mailidss.split(',').length ;
						setTimeout(receivemails,100);
		        	}else{
		        		waiting.close();
		            	alert('连接超时，请重新登录!') ;
		            	receivenowflag = 0;
		            	return ;
		            }
	        	}
       		};
       		request.open('POST', application.url, true);
        }
        
        //
        function enters(){
        	var email = document.implementation.createDocument("", "", null);
			email.load("jsdata:temporary/mailconfig.xml");
			var maildocument = new DOMParser().parseFromString('<msc />');	
			var elem_body = maildocument.createElement('body');
			elem_body.setAttribute('email',email.documentElement.childNodes[0].getAttribute('email').toString()) ;
			elem_body.setAttribute('password',email.documentElement.childNodes[0].getAttribute('password').toString()) ;
			elem_body.setAttribute('uid',email.documentElement.childNodes[0].getAttribute('uid').toString()) ;	
			elem_body.setAttribute('status','underline') ;
			maildocument.documentElement.appendChild(elem_body);
			application.fso.writeXMLDocument(maildocument,"jsdata:temporary/mailconfig.xml");
			window.showWindow("mail/inboxlist.xml");
		}
		
		function clearallmail()
		{
			//清收件箱
			var boxfile = application.fso.listfiles("jsdata:"+uid+"/mail/inbox/", application.fso.SORTBY_FILENAME_DES);
			if(boxfile==undefined||boxfile==null||boxfile==''){
			}else {
				if(boxfile.length==0){
				} else{
					for(var i=0;i<boxfile.length;i++){
						application.fso.deleteFile("jsdata:"+uid+"/mail/inbox/"+boxfile[i]);
					}
					
					var maildocument = new DOMParser().parseFromString("<msc />");
					application.fso.writeXMLDocument(maildocument,"jsdata:"+uid+"/mail/inboxmaillist.xml");
				}
			}
			
			//清已发箱
			boxfile = application.fso.listfiles("jsdata:"+uid+"/mail/outbox/", application.fso.SORTBY_FILENAME_DES);
			if(boxfile==undefined||boxfile==null||boxfile==''){
			}else {
				if(boxfile.length==0){
				} else{
					for(var i=0;i<boxfile.length;i++){
						application.fso.deleteFile("jsdata:"+uid+"/mail/outbox/"+boxfile[i]);			
					}
					var maildocument = new DOMParser().parseFromString("<msc />");
					application.fso.writeXMLDocument(maildocument,"jsdata:"+uid+"/mail/outboxmaillist.xml");
				}
			}
			//清草稿箱
			boxfile = application.fso.listfiles("jsdata:"+uid+"/mail/tempbox/", application.fso.SORTBY_FILENAME_DES);
			if(boxfile==undefined||boxfile==null||boxfile==''){
			}else {
				if(boxfile.length==0){
				} else{
					for(var i=0;i<boxfile.length;i++){
						application.fso.deleteFile("jsdata:"+uid+"/mail/tempbox/"+boxfile[i]);			
					}
					var maildocument = new DOMParser().parseFromString("<msc />");
					application.fso.writeXMLDocument(maildocument,"jsdata:"+uid+"/mail/tempboxmaillist.xml");
				}
			}
			//清已删除箱
			boxfile = application.fso.listfiles("jsdata:"+uid+"/mail/recyclebox/", application.fso.SORTBY_FILENAME_DES);
			if(boxfile==undefined||boxfile==null||boxfile==''){
			}else {
				if(boxfile.length==0){
				} else{
					for(var i=0;i<boxfile.length;i++){
						application.fso.deleteFile("jsdata:"+uid+"/mail/recyclebox/"+boxfile[i]);			
					}
					var maildocument = new DOMParser().parseFromString("<msc />");
					application.fso.writeXMLDocument(maildocument,"jsdata:"+uid+"/mail/recycleboxmaillist.xml");
				}
			}
			//清除搜索
			if(application.fso.fileExists("jsdata:"+uid+"/temporary/search.xml") == true){
				var searchboxxml = document.implementation.createDocument("","",null);
				searchboxxml.load("jsdata:"+uid+"/temporary/search.xml");
				searchboxxml.documentElement.childNodes[0].setAttribute('mailitems','') ;
				application.fso.writeXMLDocument(searchboxxml,"jsdata:"+uid+"/temporary/search.xml");
			}
			
			//将lastid和lastdata存入临时文件
			var _fso = new Fso();
			var lastidanddata = new DOMParser().parseFromString('<msc />');
			var elem_item = lastidanddata.createElement('item');
			elem_item.setAttribute('lastmailid',"") ;
			elem_item.setAttribute('lastdate',"") ;
			lastidanddata.documentElement.appendChild(elem_item);
			_fso.writeXMLDocument(lastidanddata,"jsdata:"+uid+"/temporary/lastidanddata.xml");
			
		}
		]]>
		</script>
		</head>
	    <body onload="init();">
			<br/>
		<span width="33%" align="center">
			<img src="oa/dbgz.png" href="?action=bs-transfer@mdp&amp;url=http://172.16.8.123/dhccoatodo/{//input[@name='shortname']/@value}.nsf/Frm_ShowViewContent?OpenForm%26ViewName=show_TodoStatus0ByTime_down&amp;FldKeys={//input[@name='user']/@value}" target="_blank"/>
		</span>
		<span width="33%" align="center">
			<img src="oa/zbgz.png" href="?action=bs-transfer@mdp&amp;url=http://172.16.8.123/dhccoatodo/{//input[@name='shortname']/@value}.nsf/Frm_ShowViewContent?OpenForm%26ViewName=show_TodoStatus1&amp;FldKeys={//input[@name='user']/@value}" target="_blank"/>
		</span>
		<span width="33%" align="center">
			<img src="oa/bbgz.png" href="?action=bs-transfer@mdp&amp;url=http://121.22.8.108/WebOA/office.nsf/toBe?openform" target="_blank"/>
		</span>
		<br/>
		<span width="33%" align="center">待办工作</span>
		<span width="33%" align="center">在办工作</span>
		<span width="33%" align="center">办毕工作</span>
		<br/>
		<br/>
		<span width="33%" align="center">
			<img src="oa/txl.png" href="?action=bs-transfer@mdp&amp;url=http://121.22.8.108/weboa/AddressList.nsf/F_GsgdwPhoneSearch?openform" target="_blank"/>
		</span>
		<span width="33%" align="center">
			<img src="oa/tzgg.png" href="?action=bs-transfer@mdp&amp;url=http://121.22.8.108/weboa/notify.nsf/F_AllList
" target="_blank"/>
		</span>
		<span width="33%" align="center">
			<img src="oa/hytz.png" href="?action=bs-transfer@mdp&amp;url=http://121.22.8.108/weboa/hygl.nsf/F_AllList?openform" target="_blank"/>
		</span>
		<br/>
		<span width="33%" align="center">通讯录</span>
		<span width="33%" align="center">电子公告</span>
		<span width="33%" align="center">会议通知</span>
		<br/>
		<br/>
		<span width="33%" align="center">
			<img src="oa/gwkw.png" href="?action=bs-transfer@mdp&amp;url=http://172.16.8.123/dhccoasf/hnmailin.nsf/Frm_ShowViewContent1?OpenForm%26ViewName=show_AllDisposalDoc" target="_blank"/>
		</span>
		<span width="33%" align="center">
			<img src="mail/img/139.png" href="script:enters();" target="_blank"/>
		</span>
		<span width="33%" align="center">
			<img src="oa/hdbw.png" href="?action=bs-transfer@mdp&amp;url=http://172.16.8.23/newzs/listnr.asp?lanmu2id=2058%26dw=74" target="_blank"/>
		</span>
		<br/>
		<span width="33%" align="center">公告</span>
		<span width="33%" align="center">mail</span>
		<span width="33%" align="center">开滦要闻</span>
	</body>
	</msc>
    </xsl:template>
</xsl:stylesheet>






